package org.kernely.core.service;

import java.util.Dictionary;

/**
 * Provides bundle's settings management methods
 */
public interface KernelySettingsService {

	/**
	 * This method add new properties to a bundle.
	 * @param bundleName The name of the bundle (is used to determines the properties file name).
	 * @param propertiesDictionary Properties to add to the file. If some properties already exists, they are replaced.
	**/
	void newProperties(String bundleName, Dictionary propertiesDictionary);
	
	/**
	 * This method get a property from the properties file of the bundle.
	 * @param bundleName The name of the bundle (is used to determines the properties file name).
	 **/
	String getProperty(String bundleName, String key);



}